package com.example.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Main {
    @Autowired
    private static UserService service;
    public void test() {
        service.say();
    }

}
